Component({
  properties: {
    selectSkuObj: {
      type:Object,
      value: {},
      observer: function (selectSkuObj) {
       console.log("selectSkuObj",selectSkuObj)
          if (selectSkuObj===null||Object.keys(selectSkuObj).length<2) {
          this.setData({skuDesc: "无"})
          return;
        }
        let titles = selectSkuObj.specShowList.map(item =>item.title)
        this.setData({
          skuDesc: titles.join("，")
        })
      }
    },
    goodsObj: {
      type:Object,
      value: {}
    }
  }
  ,
  data: {
    skuDesc: ""
  },
  methods: {

  }
});
